<!-- template inhertance -->
<extend name="layout/default"/>

<!-- styles -->
<block name="linkcss">
    <!--日期-->
    <link rel="stylesheet" href="/Public/home/css/bootstrap-datetimepicker.min.css">
    <!--layui第三方-->
    <link rel="stylesheet" href="/Public/layui-formSelects/dist/formSelects-v4.css">

    <link rel="stylesheet" href="/Public/home/css/workInstruction/add.css">
</block>

<!-- scripts -->
<block name="linkjs">
    <!--日期-->
    <script src="/Public/home/js/bootstrap-datetimepicker.js"></script>
    <script src="/Public/home/js/bootstrap-datetimepicker.zh-CN.js"></script>

    <script src="/Public/home/js/workInstruction/add.js"></script>
</block>

<!-- page title -->
<block name="webtitle">
    <title>发起任务</title>
</block>

<!-- navagations -->
<block name="breadcrumb">
    <ol class="breadcrumb breadcrumb-edit">
        <li><a href="workInstructionIndex.html">工作指示</a></li>
        <li class="active">发起任务</li>
    </ol>
</block>

<!-- main body -->
<block name="content">
    <div class="work-form">
        <form action="" class="layui-form">

            <div class="layui-form-item">
                <label class="layui-form-label">指派人员</label>
                <div class="layui-input-block ">
                    <select name="toUser" xm-select="toUser" xm-select-search="" xm-select-search-type="dl" lay-verify="required">
                        <option value=""></option>
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">截止时间</label>
                <div class="layui-input-block">
                    <input type="text" name="end" class="layui-input" id="date-end" lay-verify="required" readonly="" placeholder="截止完成时间">
                </div>
            </div>

            <div class="layui-form-item work-content">
                <label class="layui-form-label">任务内容</label>
                <div class="layui-input-block">
                    <textarea name="content" class="layui-textarea" placeholder="在此输入任务内容..." lay-verify="required"></textarea>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="button" class="layui-btn" lay-submit lay-filter="publish">立即发起</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>

        </form>
    </div>
</block>